treeview: Break reference cycles on unroot
authorMatthias Clasen <mclasen@redhat.com>
Mon, 11 May 2020 14:00:12 +0000 (10:00 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 11 May 2020 14:30:03 +0000 (10:30 -0400)
commitd061bcad52d392664b4291eeebc4b42e9b8116d7
tree1f0bfbb68a4d01a73dfe5c4a747e00932e2d0678
parent329994291a0f4220b3ebbb36ebda8fc22c1709ec
treeview: Break reference cycles on unroot

It is a bad idea to have such cycles in the first place,
and there is no need to let them linger past unroot.

This stop the treeview depending on run_dispose to get
freed, a simple unparent will work now.
gtk/gtktreeview.c